             package com.java.diagnostics.visualizer.display;
             
             import com.java.diagnostics.visualizer.data.DataPoint;
             import org.eclipse.jface.viewers.ISelection;
             
             public class DataPointSelection
               implements ISelection
             {
               private DataPoint point;
               
               public DataPointSelection(DataPoint point)
               {
                 this.point = point;
               }
               
               public DataPoint getPoint()
               {
                 return this.point;
               }
               
               public boolean isEmpty() {
                 return this.point == null;
               }
             }


